<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Baoming extends Model
{
    protected $table = 'baoming';

    public static $switch = [
        'on' => ['value' => 0, 'text' => '否', 'color' => 'danger'],
        'off' => ['value' => 1, 'text' => '是', 'color' => 'success'],
    ];


    public static $source = [
        '官方新闻',
        '雅马哈经销商推荐',
        '朋友推荐',
        'Finger APP',
        '私信',
    ];

    public static $readed = [
        'on' => ['value' => 0, 'text' => '未读', 'color' => 'danger'],
        'off' => ['value' => 1, 'text' => '已读', 'color' => 'success'],
    ];

}
